import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import VueAxios from 'vue-axios'
axios.defaults.baseURL = "http://120.78.192.17:8080"
// axios.defaults.baseURL = "http://localhost:3000"
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
// 全局引入swiper
import VAS from 'vue-awesome-swiper'
Vue.use(VAS)
import 'swiper/dist/css/swiper.css'
// Vue.use()方法将会自动调用MintUI底层代码的install方法
Vue.use(MintUI)
Vue.use(ElementUI);
Vue.use(VueAxios, axios)
Vue.config.productionTip = false

// 使用$bus通用传值
Vue.prototype.$bus=new Vue()


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
